<?php $this->extend('comm/page');?>

<form class="layui-form form-horizontal" action="<?php echo $container->url->build('', ['visitid' => $info['visitid']]); ?>"
    method="post">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">编号:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="visitid" value="<?php echo $info['visitid']; ?>" class="layui-input" readonly />
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="username" value="<?php echo $info['username']; ?>" lay-verify="required"
                lay-verType="tips" lay-reqText="请输入姓名" placeholder="请输入姓名" class="layui-input">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">邮箱:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="email" lay-verType="tips" value="<?php echo $info['email']; ?>"
                placeholder="请输入邮箱地址" class="layui-input">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">手机号:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="moble" lay-verType="tips" value="<?php echo $info['moble']; ?>"
                placeholder="请输入手机号" class="layui-input">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">QQ:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" name="qq" step="1" min="10000" lay-verType="tips"
                value="<?php echo $info['qq']; ?>" placeholder="请输入QQ号" class="layui-input">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">地址:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea placeholder="请输入地址" name="address"
                class="layui-textarea"><?php echo $info['address']; ?></textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">备注信息:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea placeholder="请输入备注信息" name="remark"
                class="layui-textarea"><?php echo $info['remark']; ?></textarea>
        </div>
    </div>

    <div class="layui-form-item hidden layer-footer">
        <div class="col-xs-12 text-right">
            <button type="submit" class="btn btn-success" lay-submit lay-filter="submit">确认提交</button>
            <button type="reset" class="btn btn-default">重置</button>
        </div>
    </div>
</form>